import request1 from "@/utils/request1";

let url = '/smartstudio/sms'

export default {
    getverificationCode(phone) {
        return request1.get(url+"/ver",{
            params:{
                phone:phone
            }
        })
    },
    signIn(phone,verificationCode)
    {
        return request1.get(url+"/verification",{
            params:{
                phone:phone,
                verificationCode:verificationCode
            }
        })
    },
    signInverificationCode(tokenfront)
    {
        return request1.get(url+"/signInverificationCode",{
            params:{
                tokenfront:tokenfront
            }
        })
    }

}